package com.jinjiafeng.framelibrary.http;

import com.jinjiafeng.baselibrary.http.ICallback;

import java.util.WeakHashMap;

/**
 * @author jinjiafeng
 *         Time :18-4-24
 */

public abstract class BaseHttpCallback implements ICallback {

    @Override
    public void onPreExecute(WeakHashMap<String, Object> params) {
        //添加一些业务相关的公共参数
        params.put("", "");

        onPreExecute();
    }

    @Override
    public void onError(Exception e) {

    }

    public void onPreExecute() {

    }
    ;
}
